#pragma once
#include "libmat.h"
class Book :
	public LibMat
{
public:
	Book(const std::string& title, const std::string& author):
		m_title(title),
		m_author(author)
	{
		std::cout<< "Book::Book() default constructor!" << std::endl;
	}
	virtual ~Book(void)
	{
		std::cout<< "Book::~Book() default dstructor!" << std::endl;
	}
	virtual void print() const
	{
		std::cout<< "Book::print() I am a Book function!" << std::endl;
		std::cout<< m_title.c_str() << std::endl;
		std::cout<< m_author.c_str() << std::endl;
	}

protected:
	std::string m_title;
	std::string m_author;
	
};

